package enums.enumeration03;

public class Enum {
    public static void main(String[] args) {
        System.out.println(Season.AUTUMN);
        System.out.println(Season.SUMMER);
    }
}

enum Season {
    SPRING("春天", "温暖"), //常量名(实参列表)
    WINTER("冬天", "寒冷"),
    SUMMER("夏天", "炎热"),
    AUTUMN("秋天", "凉爽"),
    What;

    private Season() {}

    private String name;
    private String desc;
    public String getName() {
       return name;
    }

    public String getDesc() {
       return desc;
    }

    private Season(String name, String desc) {
       this.name = name;
       this.desc = desc;
    }

    
}
